package com.zw.a.basic.a06.demo04_field;

//子类
public class Son extends Father{
    int age = 20;       //本类的成员变量.

    public void show() {
        int age = 10;   //局部变量
        System.out.println(age);                //10
        System.out.println(this.age);          //20
        System.out.println(super.age);        //30
    }
}
